import { request } from '@/utils'
// 商品类型接口(API)
export default {

  toggleRole: data => request.post('/auth/role/toggle', data),
  categoryAddApi: data => request.post('/basic-api/commodity/category/add', data),
  ListApi: params => request.get('/basic-api/wechatApi/wechatList', { params }),
  DeleteApi: data => request.post('/basic-api/wechatApi/wechatDelete', data),
  setAddress: data => request.post('/basic-api/wechatApi/setAddress', data),
  findAddress: params => request.get('/basic-api/wechatApi/findAddress', { params }),
  categoryEditApi: data => request.post('/basic-api/commodity/category/edit', data),
}
